package com.liumuxian.exam.pojo;

import lombok.Data;

import javax.persistence.*;
import java.io.Serializable;
import java.util.Date;
@Data
@Entity
@Table(name = "tb_subjectassoeted")
public class SubjectAssoeted implements Serializable {
    @Id
    @Column(name = "id",length = 20)
    private String id;
    @Column(name = "templatesetid",length = 20)
    private String templatesetid;
    @Column(name = "name",length = 100)
    private String name;//科目分类名
    @Column(name = "thumbnail",length = 100)
    private String thumbnail;//预览图
    @Column(name = "status",length = 1)
    private int status;//状态
    @Column(name = "weight",length = 2)
    private int weight;//排序值

    @Column(name = "creatdate")
    private Date creatdate;
    @Column(name = "updatedate")
    private Date updatedate;

}
